package com.example.frn.service;
import com.example.frn.dto.RankingListPageDto;
import com.example.frn.entity.Film;
import com.example.frn.entity.RankingList;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RankingListService {
    boolean save(RankingList rankingList);
    boolean updateById(RankingList rankingList);
    boolean removeById(Integer id);
   RankingList getById(Integer id);
    List<Film> list(Integer year, String categoryName);
    PageInfo<RankingList> page(RankingListPageDto dto);
}
